package com.zejson.dao.inf;

import java.util.List;

import com.zejson.entity.TruckDriverExample;
import com.zejson.entity.TruckDriver;
import org.apache.ibatis.annotations.Param;

public interface TruckDriverMapper extends BaseMapper{
    long countByExample(TruckDriverExample example);

    int deleteByExample(TruckDriverExample example);

    int deleteByPrimaryKey(Integer contactid);

    int insert(TruckDriver record);

    int insertSelective(TruckDriver record);

    List<TruckDriver> selectByExample(TruckDriverExample example);

    TruckDriver selectByPrimaryKey(Integer contactid);

    int updateByExampleSelective(@Param("record") TruckDriver record, @Param("example") TruckDriverExample example);

    int updateByExample(@Param("record") TruckDriver record, @Param("example") TruckDriverExample example);

    int updateByPrimaryKeySelective(TruckDriver record);

    int updateByPrimaryKey(TruckDriver record);

    int insertByAutoGeneratePK(Object record);
}